<?php 

if(!defined('ADMIN')){
	exit('Access Denied');
}


    $catename="收到应聘简历";
?>
<div class="pageHeader">
	<p class="topnam"><b><?=$catename?></b></p>
</div>
<form id="pagerForm" method="post" action="#rel#">
	<input type="hidden" name="pageNum" value="<?=$page?>" />
	<input type="hidden" name="numPerPage" value="<?=$pagesize?>" />
	<input type="hidden" name="orderField" value="<?=$orderField?>" />
	<input type="hidden" name="orderDirection" value="<?=$orderDirection?>" />
</form>
<div class="pageHeader">
	<form rel="pagerForm" onsubmit="return navTabSearch(this);" action="<?=u(MOD,'student',array('q'=>$q,'catid'=>$catid,'status'=>$status))?>" method="post">
	<div class="searchBar">
		<ul class="searchContent">
        <table class="searchContent">
        <tr><td>查询：<input type="text" name="q" value="<?=$q?>" /></td>
        <td><div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div></td>
        </tr>
        </table>
	</div>
	</form>
</div>

<div class="pageContent">

	<table class="table" width="100%" layoutH="188">
		<thead>
			<tr>
				<th width="25"><input type="checkbox" group="ids[]" class="checkboxCtrl" /></th>
				<th width="50" class="center" orderField="id" <? if($orderField=="id"){?>class="<?=$orderDirection?>"<?}?>>ID</th>
                 <th  class="center">应聘公司</th>
               <th width="150" class="center">应聘职位</th>
				<th orderField="title" width="100" <? if($orderField=="title"){?>class="<?=$orderDirection?>"<?}?>>姓名</th>
                 <th  class="center">院校名称</th>
                 <th width="100" class="center">专业</th>
				<th width="100" class="center">
                    性别
                </th>

                <th width="100" class="center">户籍省份</th>
                
                <th width="100" class="center">推荐人</th>
				

			</tr>
		</thead>
        <tbody>
        <?php foreach ($row as $r){?>
		<tr target="id" rel="<?=$r["id"]?>" style="height: 25px;line-height: 25px;">
				<td class="center"><input name="ids[]" value="<?=$r["tid"]?>" type="checkbox" /></td>
				<td class="center"><?=$r["id"]?></td>
                
                
                <td class="center"><?=$r["companyname"]?></td>
                <td class="center"><a title="查看" target="dialog" href="index.php?mod=content&act=viewjobs&id=<?=$r["jobsid"]?>" style="font-weight: 700;"><?=$r["jobsname"]?></a></td>
				<td class="center"><a title="查看“<?=$r["realname"]?>”的简历" target="dialog" href="<?=u(MOD,'viewstu',array('id'=>$r['tid']))?>" style="font-weight: 700;"><?=$r["realname"]?></a>
               
                </td>
                <td class="center"><?=$r["schoolname"]?></td>
                 <td class="center"><?=$r["mainprofession"]?></td>
				<td class="center">
                <?
                if($r["sex"]=="0"){
                    echo "男";
                }elseif($r["sex"]=="1"){
                    echo "女";
                }else{
                    echo "未知";
                }
                ?>
                </td>


                
                <td class="center"><?=$r["area_province"]?></td>
               

                <td class="center"><?=$r["refer"]?></td>



		</tr>
        <?php }?>   
		</tbody>
	</table>            
	<div class="panelBar">
		<div class="pages">
			<span>显示</span>
			<select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})" id="PageSize">
				<option value="20" <? if($pagesize==20){ echo 'selected="true"';}?>>20</option>
				<option value="50" <? if($pagesize==50){ echo 'selected="true"';}?>>50</option>
				<option value="100" <? if($pagesize==100){ echo 'selected="true"';}?>>100</option>
				<option value="200" <? if($pagesize==200){ echo 'selected="true"';}?>>200</option>
			</select>
			<span>条，共<?php echo $total;?>条</span>
		</div>
		
		<div class="pagination" targetType="navTab" totalCount="<?php echo $total;?>" numPerPage="<?=$pagesize?>" pageNumShown="10" currentPage="<?=$page?>"></div>

	</div>
<div class="formBar">
<ul style="float:left;">
<li>
<div class="buttonActive"><div class="buttonContent">
<?
if($status==1){
?>
<a title="确实要向所选择简历移出人才库吗?" target="selectedTodo" rel="ids[]" href="<?=u(MOD,'moveout')?>" style="display: block;line-height: 25px;height: 25px;" >移出人才库</a>

<?    
}else{
?>
<a title="确实要向所选择简历放入人才库吗?" target="selectedTodo" rel="ids[]" href="<?=u(MOD,'putinto')?>" style="display: block;line-height: 25px;height: 25px;" >放入人才库</a>

<?
}
?>
</div></div>
</li>
</ul>
</div>    
   
</div>    

